<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS Transforms Test: rotate3d on div element</title>
    <link rel="author" title="Intel" href="http://www.intel.com">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions">
    <meta name="flags" content="">
    <link rel="match" href="reference/css-transform-3d-rotateZ-ref.html">
    <meta name="assert" content="Test checks that rotate a vertical rectangle for 90 degree on Z-axis will cover the horizontal red rectangle.">
    <style>
      div {
        height: 240px;   
        left: 70px;
        position: absolute;
        top: 100px;
        width: 240px;            
      }
      div.origin {
        background-color: green;
      }
      div.redsquare {
        background-color: red;
        height: 60px;
        left: 70px;
        top: 190px;
        width: 240px; 
      }
      div.greensquare {
        background-color: green;
        height: 240px;
        left: 160px;
        top: 100px;
        width: 60px; 
        transform: rotateZ(90deg);
      }
    </style>
  </head>
  <body>
    <p>Test passes if there is a green square and no red.</p>
    <div class="origin"></div>
    <div class="redsquare"></div>
    <div class="greensquare"></div>
  </body>
</html>
